<?php
namespace App\Admin\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 员工列表Dto （导入导出）
 */
#[ExcelData]
class StaffDto implements MineModelExcel
{
    #[ExcelProperty(value: "id", index: 0)]
    public string $id;

    #[ExcelProperty(value: "名称", index: 1)]
    public string $name;

    #[ExcelProperty(value: "密码", index: 2)]
    public string $password;

    #[ExcelProperty(value: "手机号", index: 3)]
    public string $phone;

    #[ExcelProperty(value: "头像", index: 4)]
    public string $avatar;

    #[ExcelProperty(value: "创建时间", index: 5)]
    public string $created_at;

    #[ExcelProperty(value: "更新时间", index: 6)]
    public string $updated_at;


}